system-linux: handle RTM_DELLINK events for device state tracking
authorFelix Fietkau <[email protected]>
Mon, 20 Oct 2025 17:43:27 +0000 (19:43 +0200)
committerFelix Fietkau <[email protected]>
Mon, 20 Oct 2025 17:46:54 +0000 (19:46 +0200)
commitb6d371f307705b32e1ef5c63d7bf6440c8859789
tree3a1ea17d9a14cbb02c7b74a8a23ed3ad3c7e0344
parentdf2f5c9a30f8faadf8dee962cc17d315e967d70a
system-linux: handle RTM_DELLINK events for device state tracking

Add RTM_DELLINK handling to properly track device lifecycle. When a
device is deleted, update its state with flags=0 to mark it as not
present. This improves synchronization compared to only relying on
the hotplug handler.

Signed-off-by: Felix Fietkau <[email protected]>
system-linux.c